package com.cw.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;
import java.util.Map;

@ApiModel
@Data
public class SysUserCondition {
    /**
     * 主键ID
     */
    //("USER_ID")
    @ApiModelProperty(value = "用户主键Id")
    private String userId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    /**
     * 手机号
     */
    //("PHONE")
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 创建时间
     */
    //("CREATE_TIME")
    private Date createTime;

    /**
     * 修改时间
     */
    //("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "创建人姓名")
    private String createName;

    /**
     * 0-正常，9-锁定
     */
    //("LOCK_FLAG")
    private String lockFlag;

    /**
     * 0-正常，1-删除
     */
    //("DEL_FLAG")
    private String delFlag;

    @ApiModelProperty(value = "邮箱")
    private String mailBox;

    @ApiModelProperty(value = "姓名")
    private String realName;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "部门及负责人")
    private List<Map<String,Object>> deps;

    @ApiModelProperty(value = "角色")
    private List<String> roles;
}
